<template lang="pug">

          .publish-index
            .publish-header
              h3 发布
              .publish-menu
                .publish-menu-item
                  router-link(to="/all") New
                .publish-menu-item
                  router-link(to="/all") Published
                .publish-menu-item
                  router-link(to="/all") Drafts
                .publish-menu-item
                  router-link(to="/all") All
</template>

<script>
  export default {
  }
</script>

<style lang="stylus" scoped>
  .mixins-flex-row-center {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
  }

  .mixins-flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .publish-layout {
    background: #f3f3f5;
    padding-top: 4rem;
  }

  .publish-header {
    margin: 2rem 0 1rem 0;
    h3 {
      text-align: center;
      margin-bottom: 0;
    }
    .publish-menu {
      display: flex;
      flex-direction: row;
      align-items: stretch;
      justify-content: space-around;
      .publish-menu-item {
        color: #232D32;
        height: 4rem;
        line-height: 4rem;
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: .2rem solid darken(#f3f3f5, 30%);
        a {
          color: #232D32;
        }
        &:hover {
          border-bottom: .2rem solid darken(#35BDB2, 2%);
        }
      }
    }
  }
</style>
